package com.danciyixue.boot.dcyx.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import jakarta.validation.constraints.*;

/**
 * 单元学习统计更新表单对象
 *
 * @author youlaitech
 * @since 2025-06-29
 */
@Getter
@Setter
@Schema(description = "单元学习统计更新表单对象")
public class UnitStudyStatsUpdateForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "单元ID")
    @NotNull(message = "单元ID不能为空")
    private Long unitId;

    @Schema(description = "单元总数")
    private Integer unitTotal;

    @Schema(description = "智能记忆学习数")
    private Integer studyNumZnjy;

    @Schema(description = "智能默写学习数")
    private Integer studyNumZnmx;

    @Schema(description = "智能听写学习数")
    private Integer studyNumZntx;

    @Schema(description = "智能记忆测试次数")
    private Integer testTimeZnjy;

    @Schema(description = "智能默写测试次数")
    private Integer testTimeZnmx;

    @Schema(description = "智能听写测试次数")
    private Integer testTimeZntx;

    @Schema(description = "智能记忆复习数")
    private Integer restudyNumZnjy;

    @Schema(description = "智能默写复习数")
    private Integer restudyNumZnmx;

    @Schema(description = "智能听写复习数")
    private Integer restudyNumZntx;

    @Schema(description = "智能记忆是否结束")
    private Integer isEndZnjy;

    @Schema(description = "智能默写是否结束")
    private Integer isEndZnmx;

    @Schema(description = "智能听写是否结束")
    private Integer isEndZntx;

}
